package it.win4buy.events
{
	/**
	 *
	 *	autore:
	 *  pierangelo.mancusi@gmail.com
	 *
	 */
	
	import flash.events.Event;
	
	public class GetQuestionEvent extends Event
	{
		
		
		public static const RESULT:String="GetQuestionEvent.RESULT";
		
		public static const FAULT:String="GetQuestionEvent.FAULT";
		
		//-------------------------------------------
		//
		// Injected properties
		//
		//-------------------------------------------
		
		
		//-------------------------------------------
		//
		// Private Properties
		//
		//-------------------------------------------
		
		/**
		 * Object transported by the event 
		 */
		private var _obj:Object;
		
		//-------------------------------------------
		//
		// Getters / Setters
		//
		//-------------------------------------------
		
		
		
		public function get obj():Object
		{
			return _obj;
		}
		
		public function set obj(value:Object):void
		{
			_obj = value;
		}

		//-------------------------------------------
		//
		// Constructor
		//
		//-------------------------------------------
		
		public function GetQuestionEvent(type:String,obj:Object, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.obj=obj;
		}
		
		//-------------------------------------------
		//
		// Override Handlers
		//
		//-------------------------------------------
		
		override public function clone():Event
		{
			return new GetQuestionEvent(type,obj,bubbles,cancelable);
			
		}

	}
}